Einhugur macOS Bridge plugin.

EinhugurCoreBridge.NSDate Class

A representation of a specific point in time, independent of any calendar or time zone.

EinhugurCoreBridge.NSObject
   NSDate

class EinhugurCoreBridge.NSDate

Constructors

NSDateConstructs NSDate object, initialising it with current date and time.

Properties

ClassName (Inherited) (desktop - console) Returns the name of the Cocoa class under the hood as String.
Handle (Inherited) Returns Integer handle to the native NSObject structure.
TimeIntervalSince1970The interval between the date object and 00:00:00 UTC on 1 January 1970.
TimeIntervalSinceReferenceDateThe interval between 00:00:00 UTC on 1 January 2001 and the current date and time.

Methods

shared CastDoes deep cast on incoming NSObject to NSDate
EqualReturns a Boolean value that indicates whether a given object is a date that is exactly equal the receiver.
shared FromIntegerPtrConstructs NSDate object from Integer handle coming from declares or 3rd party plugin.
shared IsNSDateReturns true if the NSObject under the hood is NSDate or derived from NSDate.
Release (Inherited) Releases the NSObject.
Retain (Inherited) Retains the NSObject

Constants

Version = 5.0 (Inherited)

Supported Platforms:

  • macOS Intel 64 bit
  • macOS Apple Silicon
  • iOS
  • Unsupported Platforms:

  • Windows 32 bit
  • Windows 64 bit
  • Windows ARM 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM 32 bit
  • Linux ARM 64 bit